﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base target="center" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改订单</title>
<style type="text/css">
	h3{ margin-bottom:0px; margin-left:10px;}
	table{ width:80%; margin-top:20px; border-spacing:5px;}
	.le{ display:inline-block; text-align:right; height:30px; width:25%;}
	input[type="text"]{ height:23px; width:600px; line-height:23px; padding-left:5px;}
	input[type="button"]{ height:35px; width:60px;background-color:#036; color:#FFF; font-size:14px;border:none;}
	select{ font-size:16px; height:23px; width:90px;}
</style>
</head>
<script type="text/javascript">
window.onload=function(){
	
}


</script>

<body>
<h3><img src="img/adsa.png" /> 修改订单</h3>
<hr size="2px" color="#ff9933" align="left" width="90%" />
<form action="../MainServlet?option=update&ta=indent" method="post"> 
	
    	<span class="le">订单编号：</span>
        <input type="text" name="id" value="${sessionScope.list[0].id }" size="80" readonly="readonly" /><br />

    	<span class="le">订购人姓名：</span>
        <input type="text"  name="userName" value="${sessionScope.list[0].userName }" size="80" /><br />
    
    	<span class="le">订购人地址：</span>
        <input type="text" name="userAddress" value="${sessionScope.list[0].userAddress }" size="80" /><br />
    
    	<span class="le">总金额：</span>
        <input type="text" name="amount" value="${sessionScope.list[0].amount }" size="80" /><br />
        
    	<span class="le">下单日期：</span>
        <input type="text" name="indentDate" value="${sessionScope.list[0].indentDate }" size="80" /><br />
   
    	<span class="le">订单状态：</span>
        <select name="indentStatus">
        	<option value="待审核" ${sessionScope.list[0].indentStatus=="待审核"?"selected":""} >待审核</option>
            <option value="已审核" ${sessionScope.list[0].indentStatus=="已审核"?"selected":""}>已审核</option>
        </select><br />

    	<span class="le"> </span>
        <input type="submit" value="更新" />
   
</form>
</body>
</html>
